GATE CSE 1993
Q2.
What does the following code do? var a, b: integer; begin a:=a+b; b:=a-b; a:a-b; end;Q3.
Consider a system having m resources of the same type. These resources are shared by 3 processes A,B, and C which have peak demands of 3, 4 and 6 respectively. For what value of m deadlock will not occur?Q5.
Let A and B be sets with cardinalities m and n respectively. The number of one-one mappings from A to B, when m \lt n, isQ8.
Assume that each character code consists of 8 bits. The number of characters that can be transmitted per second through an asynchronous serial line at 2400 baud rate, and with two stop bits isQ9.
Simpson's rule for integration gives exact result when f(x) is a polynomial of degree